package com.QSMoney.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;

public class routes {
    @TableId(type = IdType.AUTO)
    @Schema(description = "路由id")
    private int id;
    @Schema(description = "父路由，顶级路由为0")
    private int  parent_id;
    @Schema(description = "路由路径")
    private String path;
    @Schema(description = "路由名称")
    private String name;
    @Schema(description = "前端组件路径（如 “views/dashboard/index.vue”）")
    private String component;
    @Schema(description = "重定向路径（如 “/dashboard/analysis”）")
    private String redirect;



}
